package net.daoke.relation.enums;

/**
 * 节点类型枚举
 */
public enum NodeTypeEnum {
    THIN_CLIENT("THIN_CLIENT", "瘦终端"),
    THICK_CLIENT("THICK_CLIENT", "胖终端"),
    VIRTUAL_DESKTOP("VIRTUAL_DESKTOP", "虚拟桌面"),
    VIRTUAL_SERVER("VIRTUAL_SERVER", "虚拟服务器"),
    BARE_METAL_SERVER("BARE_METAL_SERVER", "裸金属服务器"),
    NETWORK_EQUIPMENT("NETWORK_EQUIPMENT", "网络设备"),
    FIREWALL("FIREWALL", "防火墙"),
    SWITCH("SWITCH", "交换机"),
    VPN_SERVER("VPN_SERVER", "VPN服务器"),
    SECURITY_DEVICE("SECURITY_DEVICE", "安全设备"),
    OTHER("OTHER", "其他");

    private final String protocol;
    private final String description;

    NodeTypeEnum(String protocol, String description) {
        this.protocol = protocol;
        this.description = description;
    }

    @Override
    public String toString() {
        return this.name() + ":" + this.description;
    }
}
